/******************************************************
*  Copyright(c) pages.ilovezxl.top
*  FileName :ostime.c
*  Author : rivulet.dave
*  Description : 系统适配层模板
*  Data : 2020-07-21
******************************************************/

/*********************************************************************
 * INCLUDES
 */

#include "stdrope.h"

#include "sallib.h"
#include "salagent.h"

#if (SAL_TEMPLATE == _ENABLE)

#if (SAL_PRODUCER == _SAL_LINUX_)
#include "template_xx.h"
#endif

/*********************************************************************
 *  EXTERNAL VARIABLES
 */

/*********************************************************************
 * MACROS
 */

#define TEMP_LOG(level, ...) LOG_Output("", LOG_LEVEL_RAW, 0, __FILENAME__, __LINE__, ## __VA_ARGS__)

/*********************************************************************
 * TYPES
 */


/*********************************************************************
 * FUNCTIONS DECLARE
 */


/*********************************************************************
 *  VARIABLES
 */

static MOD_INFO_S  s_stTempInfo = { .uiModID = MOD_TEMP, .pName = TOSTR(MOD_TEMP)};
static TEMP_BASE_S *s_pstTempObject = NULL;

/*********************************************************************
 * FUNCTIONS
 */

/**
 *   @Description: 模块安装
 *   @param : NA
 *   @return: _OK/_ERR
 */
int32_t TEMP_Install(void)
{
#if (SAL_PRODUCER == _SAL_LINUX_)
    s_pstTempObject = (TEMP_BASE_S *)TEMP_LinuxObjNew();
#else
#endif
    return _OK;
}

/**
 *   @Description: 模块卸载
 *   @param : NA
 *   @return: _OK/_ERR
 */
int32_t TEMP_Uninstall(void)
{
#if (SAL_PRODUCER == _SAL_LINUX_)
    s_pstTEMPObject = NULL;
#else
#endif
    return _OK;
}

#endif  // SAL_TEMPLATE == _ENABLE

/************************************** The End Of File **************************************/



